/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ipcc.other.error;

import java.util.ResourceBundle;

/**
 *
 * @author Administrator
 */
public class ERRORS {

    public ERRORS() {
    }
    
    public static final String SUCCESS = "TN100";
    public static final String FAIL = "TN101";
    public static final String MISSING_ORG_CUSTOMER_ID = "TN102";
    public static final String EXIST_XML = "TN103";
    public static final String NON_EXIST_XML = "TN104";
    public static final String MISSING_NAMEC = "TN105";
    public static final String ORG_CUSTOMER_ID_NOT_CORRECT = "TN106";
    public static final String ORG_CUSTOMER_ID_EXIST = "TN107";    
    public static final String ERROR_INTERNAL = "TN166";    
    
    
    public static String getDetailError(String error){
        ResourceBundle resource = ResourceBundle.getBundle("errorList");
        return resource.getString(error);
    }
}
